<!--{include(pe_tpl('header.html'));}-->
<div class="right_page">
	<div class="now">
		<a href="admin.php?mod=cache" class="sel">{$menutitle}<i></i></a>
		<div class="clear"></div>
	</div>
	<form method="post" id="form">
	<div class="right_main">
		<div class="tixing corg">温馨提示：当您网站上的数据或网页显示异常时请执行更新缓存操作。</div>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list mat10">
		<tr>
			<th class="bgtt" width="150">缓存名称</th>
			<th class="bgtt left">缓存说明</th>
			<th class="bgtt" width="200">大小</th>
			<th class="bgtt" width="70">操作</th>
		</tr>
		<!--{foreach($info_list as $k => $v):}-->
		<tr>
			<td>{$v['cache_name']}</td>
			<td class="left">{$v['cache_text']}</td>
			<td>{$v['cache_size']} KB</td>
			<td><a href="javascript:pe_confirm('更新', 'admin.php?mod=cache&act=update&type={$k}&token={$pe_token}')" class="admin_edit">更新</a></td>
		</tr>
		<!--{endforeach;}-->
		</table>
	</div>
	<div class="right_bottom center">
		<input type="hidden" name="pe_token" value="{$pe_token}" />
		<input type="hidden" name="pesubmit" value="{$pe_token}" />
		<input type="button" value="全部更新" class="tjbtn">
	</div>
	</form>
</div>
<script type="text/javascript">
$(function(){
	$(":button").click(function(){
		pe_submit("admin.php?mod=cache&act=update&type=all", function(json){
			if (json.code == 1) pe_open('reload', 600);
		});
	})
})
</script>
<!--{include(pe_tpl('footer.html'));}-->